Section 502
Impossible Obligation Not To Be Fulfilled
(1) Notwithstanding
anything contained elsewhere in this Chapter, if, at the time of its
creation, any obligation of such nature as is impossible for
fulfillment has been created, such an obligation shall not be
required to be fulfilled.
(2) If any obligation which was possible for fulfillment at
the time of its creation subsequently becomes impossible for
fulfillment, the consequence of such obligation shall be determined
according to the law.
(3) Notwithstanding anything contained in sub-section (1)
or (2), if a portion of any obligation can be fulfilled and the rest
portion cannot be fulfilled, the obligation shall be fulfilled to the
extent that it can be fulfilled.